require_relative "helper"
require "alcohol"

describe Alcohol do

  it "must calculate alcohol by weight" do
    (Alcohol.by_weight 13, 2.5).must_equal 4.5
  end

  it "must calculate alcohol by volume" do
    (Alcohol.by_volume 13, 2.5).must_equal 5.7
  end

end
